package org.osomit.sacct.client.iface;

import org.osomit.sacct.entity.ApplicationAccount;

import java.util.List;

/**
 * @author Jian Fang (John.Jian.Fang@gmail.com)
 * 
 * Date: Jul 3, 2009
 */
public interface AccountClient {

    void connect(String serverHost, int port);

    ApplicationAccount fetchAccount(String accountName);

    List<ApplicationAccount> fetchAllAccounts();

    void disconnect();
}
